Search results
85 packages found
Check if a path exists
Get the first path that exists on disk of multiple paths
Check if filepath exists and is a file
Check to see if a directory exists
Test whether a path exists on the filesystem.
Simple and consistent way to check if a file exists 🔎
Detects if a file exists and returns the resolved filepath.
fs.exists with ES6 Promise that is not deprecated
Check if filepath exists and is a file. Note this is a fork of file-exists dpenedency with some ammendments.
Asynchronous file system library with chainable Q promises for Node.js
Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.
- async
- file path
- file system
- file
- filepath
- files
- filesystem
- folder
- fs
- fs.writeFile
- fs.writeFileSync
- path
- promise
- streams
- View more
Check if a file or directory exists in a given path.
Returns true if a filepath exists on the file system and it's directory.
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
Test whether a path exists on the filesystem.
Given a file path and a list of file extensions, find a file that exists
Recursively search a file in given directory from file name or RegExp
Ensures that a file exists: if not, it creates it.
A simple lightweight zero-dependency asynchronous utility function to check the existence of files and directories using Node.js' fs.promises.
call a callback when a file is created